package com.ybkj.daijia.server.mapper;

import com.ybkj.daijia.server.model.OrderLocation;
import com.ybkj.daijia.server.model.OrderLocation.OrderType;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface OrderLocationMapper {

    /**
     * @param record
     * @return
     */
    int insertRecord(OrderLocation orderLocation);

    int insertListRecord(List<OrderLocation> list);

    /**
     * @param driverId
     * @return
     */
    List<OrderLocation> selectByOrderTypeAndOrderId(@Param("orderType") OrderType orderType,
        @Param("orderId") Long orderId);


}
